package com.example.demo.service;

import com.example.demo.entity.table.LawsList;
import com.example.demo.entity.req.LawsListsReq;
import com.example.demo.entity.req.LawsDetailReq;
import com.example.demo.entity.res.LawsDetailRes;
import com.example.demo.entity.req.updateLawContentReq;
import org.springframework.web.multipart.MultipartFile;
import com.example.demo.entity.req.updateLawInfoReq;
import com.example.demo.entity.req.addLawReq;
import java.util.List;

public interface LawService {
    int oldToNew(String TableName);

    List<LawsList> getLawsLists(LawsListsReq  req);

    LawsDetailRes getLawDetail(LawsDetailReq req);

    int updateLawContent(updateLawContentReq req);

    String uploadImage(MultipartFile image, String id);

    int updateLawInfo(updateLawInfoReq req);

    String addLaw(addLawReq req);

    int deleteLaws(List<String> ids);

    List<String> getAllTags();
}